package com.kingsystem.kingteachermarks_backend.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author leiyue_yao
 * @since 2025-06-18
 */
@TableName("system_function")
@ApiModel(value = "SystemFunction对象", description = "")
public class SystemFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("TableKey")
    private String tableKey;

    private String parentFunctionId;

    private String functionType;

    private String icon;

    private String functionName;

    private String openType;

    private Integer width;

    private Integer height;

    private String routerPath;

    private Integer sort;

    @TableLogic
    private Byte flagDel;

    public String getTableKey() {
        return tableKey;
    }

    public void setTableKey(String tableKey) {
        this.tableKey = tableKey;
    }

    public String getParentFunctionId() {
        return parentFunctionId;
    }

    public void setParentFunctionId(String parentFunctionId) {
        this.parentFunctionId = parentFunctionId;
    }

    public String getFunctionType() {
        return functionType;
    }

    public void setFunctionType(String functionType) {
        this.functionType = functionType;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public String getOpenType() {
        return openType;
    }

    public void setOpenType(String openType) {
        this.openType = openType;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getRouterPath() {
        return routerPath;
    }

    public void setRouterPath(String routerPath) {
        this.routerPath = routerPath;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Byte getFlagDel() {
        return flagDel;
    }

    public void setFlagDel(Byte flagDel) {
        this.flagDel = flagDel;
    }

    @Override
    public String toString() {
        return "SystemFunction{" +
            "tableKey = " + tableKey +
            ", parentFunctionId = " + parentFunctionId +
            ", functionType = " + functionType +
            ", icon = " + icon +
            ", functionName = " + functionName +
            ", openType = " + openType +
            ", width = " + width +
            ", height = " + height +
            ", routerPath = " + routerPath +
            ", sort = " + sort +
            ", flagDel = " + flagDel +
            "}";
    }
}
